<f:view xmlns="http://www.w3.org/1999/xhtml"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:p="http://primefaces.org/ui">

	<h:head></h:head>

    <h:form>
	<p:treeTable var="file" value="#{testBean.root}" scrollable="true" scrollHeight="200">
		<p:column>
			<f:facet name="header">Title</f:facet>
			<h:outputText value="#{file.title}" />
		</p:column>

		<p:column>
                        <f:facet name="header">Id</f:facet>
                        <h:outputText value="#{file.id}" />
                </p:column>
	</p:treeTable>
    </h:form>

</f:view>
